#include "testFifo.hpp"

int main(void){
    Initpipe a;
    int fd = open("/home/wmj/pipe1/my_fifo",O_RDONLY);
    char buff[20];
    read(fd, buff, sizeof(buff));
    printf("Server[%d] has received: %s\n",getpid(), buff);
    close(fd);
    return 0;
}